package cn.iocoder.yudao;

import cn.iocoder.yudao.core.web.listener.ApplicationFailedListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;


@SpringBootApplication(scanBasePackages = {"cn.iocoder.yudao","com.xingyuv.captcha"},exclude = {RedisRepositoriesAutoConfiguration.class})
//@ComponentScan(basePackages = "org.springframework.boot.actuate",lazyInit = true)
//@ComponentScan(basePackages = {""},lazyInit = true)
public class EternityApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(EternityApplication.class);
        springApplication.addListeners(new ApplicationFailedListener());
        springApplication.run(args);
    }

}
